<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>过渡_复合属性</title>
  <style>
    .outer{
      width: 1000px;
      height: 100px;
      border: 1px solid black;
    }
    .inner{
      width: 100px;
      height: 100px;
      background-color: orange;
      /*transition-property: all;*/
      /*transition-duration: 1s;*/
      /*transition-delay: 1s;*/
      /*transition-timing-function: linear;*/

    /*  使用复合属性,注意两个时间,duration在delay的前面*/
      transition: linear all 1s 1s;
    }
    .outer:hover .inner{
      width: 1000px;

    }
  </style>
</head>
<body>
<div class="outer">
  <div class="inner"></div>
</div>
</body>
</html>